﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/MasterPages/Dialog.Master" AutoEventWireup="true" CodeBehind="ResetPassword.aspx.cs" Inherits="DMS.Web.Modules.SupplierManagement.ResetPassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageTitle" runat="server">
    修改密码
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="MainHolder" runat="server">
    <fieldset><asp:HiddenField runat="server" ID="user_id" />
    <legend>
        请输入新密码：
    </legend>
    <div id="divContent" style="padding-top: 5px;" runat="server">
        <label runat="server" id="UserName"></label>
        <table cellpadding="1" cellspacing="2" border="0" width="98%">
            <tr id="trPassword" runat="server">
                <th>
                    <nobr>
                        登录密码：<span id="Span4" runat="server"> (<span class="red">*</span>)</span>
                    </nobr>
                </th>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" width="95%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ControlToValidate="txtPassword"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr id="trPassword2" runat="server">
                <th>
                    <nobr>
                        密码确认：<span id="Span5" runat="server"> (<span class="red">*</span>)</span>
                    </nobr>
                </th>
                <td>
                    <asp:TextBox ID="txtPassword2" runat="server" TextMode="Password" width="95%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" ControlToValidate="txtPassword2"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>

                    

                </td>
            </tr>            
            <tr id="tr1" runat="server">
                <th>
                </th>
                <td>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txtPassword" ControlToValidate="txtPassword2" 
                        ErrorMessage="两次输入密码不一致！" ForeColor="Red"></asp:CompareValidator>

                </td>
            </tr>            
            
        </table>
    </div>
</fieldset>
</asp:Content>

<asp:Content ID="ctFooter"  ContentPlaceHolderID="FooterHolder" runat="server">
<asp:LinkButton ID="btnSave" CssClass="linkbtn" runat="server" OnClick="btnSave_Click"
        CausesValidation="true"><span>保存</span></asp:LinkButton>&nbsp;&nbsp;
<a href="javascript:window.close();" class="linkbtn"><span>关闭</span></a>
</asp:Content>